﻿using AlarmModule.Enums;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace AlarmModule.Interface {
    // 报警订阅者接口
    public interface IAlarmSubscriber {
        /// <summary>
        /// 报警处理器接口方法
        /// </summary>
        /// <param name="tagName"></param>
        /// <param name="level"></param>
        void HandleAlarm(string tagName, AlarmLevel level);
    }
}
